def main():
    s = 0
    for i in range(7, 98, 10):
        s += i
    print(s)


main()
